package cn.bgs.dao;

import cn.bgs.pojo.EmployeeRegister;
import cn.bgs.pojo.StudentInformation;
import cn.bgs.pojo.vo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeRegisterMapper {
    int deleteByPrimaryKey(Integer pkId);

    int insert(EmployeeRegister record);

    int insertSelective(EmployeeRegister record);

    EmployeeRegister selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(EmployeeRegister record);

    int updateByPrimaryKey(EmployeeRegister record);

    void addEmployee(vo vo1);

    void addemployeeName(vo vo1);

    EmployeeRegister login(@Param("email") String email, @Param("password") String password);//登录

    StudentInformation stuLogin(@Param("email") String email, @Param("password") String password);

    StudentInformation gradeSelone(Integer stuId);

    List<StudentInformation> findAllStudent();
}